package com.csmall.commons.pojo.cart.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Name: Cart
 * @Author: 西风残叶
 * @Date: 2024/8/18 15:05
 * @Version: 1.0
 * @TODO: 购物车的实体类对象
 */
@Data
@ApiModel
public class Cart implements Serializable {

    @ApiModelProperty(value = "购物车编号",name = "id",example = "1")
    private Integer id;
    @ApiModelProperty(value = "商品编号",name = "commodityCode",example = "PC100")
    private String commodityCode;
    @ApiModelProperty(value = "商品价格",name = "price",example = "100")
    private Integer price;
    @ApiModelProperty(value = "商品数量",name = "count",example = "1")
    private Integer count;
    @ApiModelProperty(value = "用户id",name = "userId",example = "UU100")
    private String userId;
}